package com.bw.service;

import com.bw.dao.TmsDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TmsImpl implements TmsService{

    @Autowired
    TmsDao tmsDao;

    @Override
    public List<Map> showTotal(String nowDate) {
        return tmsDao.showTotal(nowDate);
    }

    @Override
    public List<Map> showPercent(String nowDate) {
        return tmsDao.showPercent(nowDate);
    }

    @Override
    public List<Map> showOrder(String nowDate) {
        return tmsDao.showOrder(nowDate);
    }

    @Override
    public List<Map> showCount(String nowDate) {
        return tmsDao.showCount(nowDate);
    }
}
